<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改用户</title>
</head>
<body>
<h2>修改用户</h2>
<form action="" method="post" enctype="multipart/form-data">
     <div>
        <p>用户名:<input type="text" name="username" value="{{ find_user.username }}"></p>
        <p>头像:<input type="file" name="img"></p>
        <p>密码:<input type="text" name="password"></p>
        <p>级别:<select name="type">
            {% for item in dic %}
            <option value="{{ item.value }}" >
                    {{ item.key }}
            </option>
            {% endfor %}
        </select></p>
        <input type="submit" value="提交">
    </div>
</form>
</body>
</html>